package com.king.collect;

import java.util.concurrent.ConcurrentMap;

import com.google.common.base.Function;
import com.google.common.collect.MapMaker;

/**
 * @author taomk
 * @version 1.0
 * @since 15-3-9 下午3:36
 */
public class MapMakerTest {

	public static void main(String[] args) {
//		ConcurrentMap<String, Double> cache = new MapMaker()
//				.concurrencyLevel(2)
//				.makeComputingMap(new Function<String, Double>() {
//					@Override
//					public Double apply(String name) {
//						return 0.0;
//					}
//				});
	}
}
